const { defineConfig } = require('@vue/cli-service')
const AutoImport = require('unplugin-auto-import/webpack')
const Components = require('unplugin-vue-components/webpack')
const { ElementPlusResolver, AntDesignVueResolver} = require('unplugin-vue-components/resolvers')
module.exports = defineConfig({
  publicPath:'./',
  transpileDependencies: true,
  configureWebpack:{
    plugins: [
      AutoImport({
        resolvers: [ElementPlusResolver(),AntDesignVueResolver()],
      }),
      Components({
        resolvers: [ElementPlusResolver(),AntDesignVueResolver()],
      }),
    ],
  },
  // devServer: {
  //
  //   port: 8081 // 此处修改你想要的端口号
  //
  // }

})
